<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>音乐</title>
</head>
<body>
<ul>
    <li>
        <p>音乐</p>
    </li>
</ul>
<ol>
    <li>光年之外<button  onclick="p1()">播放</button></li>
    <li>你的答案<button  onclick="p2()">播放</button></li>
    <li>悟空<button  onclick="p3()">播放</button></li>
</ol>

<script>
    const m = new Audio();

    function p1(){

        m.src="https://win-web-nf01-sycdn.kuwo.cn/910f9acbec03bc89dc6f8177368b08a6/5f9830e5/resource/n1/73/40/4073043717.mp3";
        m.play();



    }
    function p2() {

        m.src = "https://win-web-nf01-sycdn.kuwo.cn/910f9acbec03bc89dc6f8177368b08a6/5f9830e5/resource/n1/73/40/4073043717.mp3";
        m.play();
    }

        function p3() {

            m.src = "https://win-web-ri01-sycdn.kuwo.cn/1a29afbca668b3792d589bacde9885e4/5f983151/resource/n1/3/34/1489030002.mp3";
            m.play();
        }

</script>
</body>
</html>